package com.baolai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@ApiModel("备件")
@TableName("goods")
public class Goods  extends Model<Goods> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("备件编码")
    @TableId(type = IdType.INPUT)
    private String id;

    @ApiModelProperty("备件名称")
    private String name;

    @ApiModelProperty("备件类型")
    private String type;

    @ApiModelProperty("备件估值")
    private float valuation;
}
